Skip to content

查询周周惠活动详情

查询周周惠活动详情

请求参数类型描述
activity_idstring活动ID
php
$instance->v3->marketing->weeklyDiscount->activities->_activity_id_->getAsync([
  'activity_id' => '11111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/weekly-discount/activities/{activity_id}')->getAsync([
  'activity_id' => '11111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/weekly-discount/activities/{activity_id}']->getAsync([
  'activity_id' => '11111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->weeklyDiscount->activities->_activity_id_->get([
  'activity_id' => '11111',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/weekly-discount/activities/{activity_id}')->get([
  'activity_id' => '11111',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/weekly-discount/activities/{activity_id}']->get([
  'activity_id' => '11111',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
activity_idstring活动ID
activity_namestring活动名称
activity_scenestring活动投放场景
activity_area_codestring[]活动投放区域编码
activity_limit_paystring活动指定付款方式
activity_transaction_minimum_amountinteger活动优惠门槛
activity_coupon_amountinteger活动优惠金额
activity_available_weekstring[]活动可使用周期
activity_max_amountinteger活动预算
activity_max_amount_per_dayinteger活动单天预算
activity_available_begin_timestring活动开始时间
activity_available_end_timestring活动结束时间
activity_statestring活动状态
activity_remarkstring活动备注
activity_logostring活动logo

参阅 官方文档

Published on the GitHub by TheNorthMemory